/**
 * 主页js
*/

if(location.href=="http://mw.jl.gov.cn/" || location.href=="http://mw.jl.gov.cn/index.html"){
//首页

	$("select[name='pageselect']").attr("title","省民委委员单位");
	
	
	// 总计时器，保证目标加载完毕再执行js（轮播+国务动态四级选项卡）
	_EsdDynamicTransformationScript.intervalMw = setInterval(function(){
		
		if( ( $("#demo3 .tips:eq(1) .nums a:eq(3)") != undefined ) 
				&& ( document.getElementsByTagName("iframe")[3].contentWindow.document.getElementsByTagName("a")[0] != undefined ) 
				&& ( $(".zlyxx .tabbox .content>div:eq(3) a:eq(0)") != undefined )  ){
			clearInterval(_EsdDynamicTransformationScript.intervalMw);
			
			part_First();
			part_Second();
			part_Third();
			
		}
		
	}, 500);
	
	
	
//第四部分---政策发布
	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num11 = $(".topc .w415:eq(1) .tabbox .content div:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num12 = $(".topc .w415:eq(1) .tabbox .content div:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd4TagNum1 = $(".topc .w415:eq(1) .tabbox ul:eq(0) li:eq(0) a");
	 _EsdDynamicTransformationScript.esd4TagNum2 = $(".topc .w415:eq(1) .tabbox ul:eq(0) li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd4TagNum1Content1 = $(".topc .w415:eq(1) .tabbox .content div:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd4TagNum2Content1 = $(".topc .w415:eq(1) .tabbox .content div:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd4TagNum1ContentN = $(".topc .w415:eq(1) .tabbox .content div:eq(0) a:eq("+_EsdDynamicTransformationScript.num11+")");
	 _EsdDynamicTransformationScript.esd4TagNum2ContentN = $(".topc .w415:eq(1) .tabbox .content div:eq(1) a:eq("+_EsdDynamicTransformationScript.num12+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});
	
//第五部分
	
	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num13 = $(".topc .w415:eq(2) .tabbox .content div:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num14 = $(".topc .w415:eq(2) .tabbox .content div:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd5TagNum1 = $(".topc .w415:eq(2) .tabbox ul:eq(0) li:eq(0) a");
	 _EsdDynamicTransformationScript.esd5TagNum2 = $(".topc .w415:eq(2) .tabbox ul:eq(0) li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd5TagNum1Content1 = $(".topc .w415:eq(2) .tabbox .content div:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd5TagNum2Content1 = $(".topc .w415:eq(2) .tabbox .content div:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd5TagNum1ContentN = $(".topc .w415:eq(2) .tabbox .content div:eq(0) a:eq("+_EsdDynamicTransformationScript.num11+")");
	 _EsdDynamicTransformationScript.esd5TagNum2ContentN = $(".topc .w415:eq(2) .tabbox .content div:eq(1) a:eq("+_EsdDynamicTransformationScript.num12+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd5TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd5TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd5TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd5TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});
	
//第六部分---部门预算
	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num18 = $(".topc .zly_xxgk .tabbox .content div:eq(1) .tabbox .content div:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num19 = $(".topc .zly_xxgk .tabbox .content div:eq(1) .tabbox .content div:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd7TagNum1 = $(".topc .zly_xxgk .tabbox .content div:eq(1) .tabbox ul:eq(0) li:eq(0) a");
	 _EsdDynamicTransformationScript.esd7TagNum2 = $(".topc .zly_xxgk .tabbox .content div:eq(1) .tabbox ul:eq(0) li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd7TagNum1Content1 = $(".topc .zly_xxgk .tabbox .content div:eq(1) .tabbox .content div:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd7TagNum2Content1 = $(".topc .zly_xxgk .tabbox .content div:eq(1) .tabbox .content div:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd7TagNum1ContentN = $(".topc .zly_xxgk .tabbox .content div:eq(1) .tabbox .content div:eq(0) a:eq("+_EsdDynamicTransformationScript.num18+")");
	 _EsdDynamicTransformationScript.esd7TagNum2ContentN = $(".topc .zly_xxgk .tabbox .content div:eq(1) .tabbox .content div:eq(1) a:eq("+_EsdDynamicTransformationScript.num19+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd7TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd7TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd7TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd7TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});	
	



//--------------------------------------
//第七部分
	//三层  ---提案议案
	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num15 = $(".topc .zly_xxgk .tabbox .content div:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num16 = $(".topc .zly_xxgk .tabbox .content div:eq(1) a").length-1;
	 _EsdDynamicTransformationScript.num17 = $(".topc .zly_xxgk .tabbox .content div:eq(2) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd6TagNum1 = $(".topc .zly_xxgk .tabbox ul:eq(0) li:eq(0) a");
	 _EsdDynamicTransformationScript.esd6TagNum2 = $(".topc .zly_xxgk .tabbox ul:eq(0) li:eq(1) a");
	 _EsdDynamicTransformationScript.esd6TagNum3 = $(".topc .zly_xxgk .tabbox ul:eq(0) li:eq(2) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd6TagNum1Content1 = $(".topc .zly_xxgk .tabbox .content div:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd6TagNum2Content1 = $(".topc .zly_xxgk .tabbox .content div:eq(1) a:eq(0)");
	 _EsdDynamicTransformationScript.esd6TagNum3Content1 = $(".topc .zly_xxgk .tabbox .content div:eq(6) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd6TagNum1ContentN = $(".topc .zly_xxgk .tabbox .content div:eq(0) a:eq("+_EsdDynamicTransformationScript.num15+")");
	 _EsdDynamicTransformationScript.esd6TagNum2ContentN = $(".topc .zly_xxgk .tabbox .content div:eq(1) a:eq("+_EsdDynamicTransformationScript.num16+")");
	 _EsdDynamicTransformationScript.esd6TagNum3ContentN = $(".topc .zly_xxgk .tabbox .content div:eq(6) a:eq("+_EsdDynamicTransformationScript.num17+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd6TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum1Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd6TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd6TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd6TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd6TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd6TagNum2ContentN.focus(function () {
		$(this).bind("keydown.keydown_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum2ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd6TagNum3.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd6TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd6TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum3Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum3.blur(function () {
		$(this).unbind("keydown.keydown_3");
	});
	
	
//第八部分---机构设置
	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num21 = $(".zlyjgsz .content div:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num22 = $(".zlyjgsz .content div:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd8TagNum1 = $(".zlyjgsz ul li:eq(0) a");
	 _EsdDynamicTransformationScript.esd8TagNum2 = $(".zlyjgsz ul li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd8TagNum1Content1 = $(".zlyjgsz .content div:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd8TagNum2Content1 = $(".zlyjgsz .content div:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd8TagNum1ContentN = $(".zlyjgsz .content div:eq(0) a:eq("+_EsdDynamicTransformationScript.num21+")");
	 _EsdDynamicTransformationScript.esd8TagNum2ContentN = $(".zlyjgsz .content div:eq(1) a:eq("+_EsdDynamicTransformationScript.num22+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd8TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum1Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd8TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd8TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd8TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd8TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd8TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});
	
	
	var part_Second = function(){

//轮播右边的四级导航
// 将iframe所包含的a链接数 第一个a元素 最后一个a元素赋值给第一个参数的js对象
_EsdDynamicTransformationScript.getIframeInfos = function(jsObj,iframeObj){
	jsObj.aLink_num = iframeObj.contentWindow.document.getElementsByTagName("a").length;
	jsObj.first_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[0];
	jsObj.last_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[jsObj.aLink_num-3];
	jsObj.self = iframeObj;
};

// 声明iframe操作对象
_EsdDynamicTransformationScript.iframe3 = {};
_EsdDynamicTransformationScript.iframe4 = {};

//通过方法赋值   
_EsdDynamicTransformationScript.iframeElement3 = document.getElementsByTagName("iframe")[2];   // 需要修改 这里的iframe获取
_EsdDynamicTransformationScript.iframeElement4 = document.getElementsByTagName("iframe")[3];   // 需要修改 这里的iframe获取


//选项卡标签 jquery对象
_EsdDynamicTransformationScript.iframeTab3 = $(".zlyxx .tabbox ul li:eq(0) a");  // 需要修改 这里的tab获取
_EsdDynamicTransformationScript.iframeTab4 = $(".zlyxx .tabbox ul li:eq(1) a");  // 需要修改 这里的tab获取


			
			//通过方法赋值   
			_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe3,_EsdDynamicTransformationScript.iframeElement3);  
			_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe4,_EsdDynamicTransformationScript.iframeElement4); 

		//第一个标签 切换
		_EsdDynamicTransformationScript.iframeTab3.focus(function (e) {
			$(this).bind("keydown.iframeKeydown_3", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					_EsdDynamicTransformationScript.esdTagCircleNum4.mouseover();
					_EsdDynamicTransformationScript.esdTagCircleNum4.focus();
					return false;
				} else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.iframeTab3.trigger("blur");
					$(_EsdDynamicTransformationScript.iframe3.self).focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.iframeTab3.blur(function () {
			$(this).unbind("keydown.iframeKeydown_3");
		});

		// 第一个标签的第一个链接
		$(_EsdDynamicTransformationScript.iframe3.first_aLink).focus(function () {
			$(this).bind("keydown.iframeKeydown_first3", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					$(this).unbind("keydown.iframeKeydown_first3");
					_EsdDynamicTransformationScript.iframeTab3.focus();
					return false;
				} else if (e.keyCode == 9) {
					
				}
			});
		});
		$(_EsdDynamicTransformationScript.iframe3.first_aLink).blur(function () {
			$(this).unbind("keydown.iframeKeydown_first3");
		});

		// 第一个标签的最后一个链接
		$(_EsdDynamicTransformationScript.iframe3.last_aLink).focus(function () {
			$(this).bind("keydown.iframeKeydown_last3", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					
				} else if (e.keyCode == 9) {
					$(this).unbind("keydown.iframeKeydown_last3");
					_EsdDynamicTransformationScript.iframeTab4.mouseover();
					_EsdDynamicTransformationScript.iframeTab4.focus();
					return false;
				}
			});
		});
		$(_EsdDynamicTransformationScript.iframe3.last_aLink).blur(function () {
			$(this).unbind("keydown.iframeKeydown_last3");
		});


		//第二个标签 切换
		_EsdDynamicTransformationScript.iframeTab4.focus(function (e) {
			$(this).bind("keydown.iframeKeydown_4", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					console.log("第二个标签向回切换 到第一个标签的最后一条");
					_EsdDynamicTransformationScript.iframeTab4.trigger("blur");
					_EsdDynamicTransformationScript.iframeTab3.mouseover();
					$(_EsdDynamicTransformationScript.iframe3.last_aLink).focus();
					return false;
				} else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.iframeTab4.trigger("blur");
					$(_EsdDynamicTransformationScript.iframe4.self).focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.iframeTab4.blur(function () {
			$(this).unbind("keydown.iframeKeydown_4");
		});

		// 第二个标签的第一个链接
		$(_EsdDynamicTransformationScript.iframe4.first_aLink).focus(function () {
			$(this).bind("keydown.iframeKeydown_first4", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					$(this).unbind("keydown.iframeKeydown_first4");
					_EsdDynamicTransformationScript.iframeTab4.focus();
					return false;
				} else if (e.keyCode == 9) {
					
				}
			});
		});
		$(_EsdDynamicTransformationScript.iframe4.first_aLink).blur(function () {
			$(this).unbind("keydown.iframeKeydown_first4");
		});

		// 第二个标签的最后一个链接
		$(_EsdDynamicTransformationScript.iframe4.last_aLink).focus(function () {
			$(this).bind("keydown.iframeKeydown_last4", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					
				} else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd9TagNum1.mouseover();
					_EsdDynamicTransformationScript.esd9TagNum1.focus();
					return false;
				}
			});
		});
		$(_EsdDynamicTransformationScript.iframe4.last_aLink).blur(function () {
			$(this).unbind("keydown.iframeKeydown_last4");
		});
		
		

	}

	var part_Third = function(){
	//二层---委局动态

	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num20 = $(".zlyxx .tabbox .content>div:eq(2) a").length-1;
	 _EsdDynamicTransformationScript.num21 = $(".zlyxx .tabbox .content>div:eq(3) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd9TagNum1 = $(".zlyxx .tabbox ul li:eq(2) a");
	 _EsdDynamicTransformationScript.esd9TagNum2 = $(".zlyxx .tabbox ul li:eq(3) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd9TagNum1Content1 = $(".zlyxx .tabbox .content>div:eq(2) a:eq(0)");
	 _EsdDynamicTransformationScript.esd9TagNum2Content1 = $(".zlyxx .tabbox .content>div:eq(3) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd9TagNum1ContentN = $(".zlyxx .tabbox .content>div:eq(2) a:eq("+_EsdDynamicTransformationScript.num20+")");
	 _EsdDynamicTransformationScript.esd9TagNum2ContentN = $(".zlyxx .tabbox .content>div:eq(3) a:eq("+_EsdDynamicTransformationScript.num21+")");
	
	
	//第一块
	_EsdDynamicTransformationScript.esd9TagNum1.focus(function (e) {
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.iframeTab4.mouseover();
			//	$(_EsdDynamicTransformationScript.iframe4.self).focus();
				$(_EsdDynamicTransformationScript.iframe4.last_aLink).focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum1Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd9TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd9TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd9TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd9TagNum2.focus(function (e) {
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd9TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd9TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});
	
	
	}
	
	
	
	

}







